package com.aries.crossgate.common.utils;

/**
 * java类简单作用描述
 *
 * @ProjectName: crossgate
 * @Package: com.aries.crossgate.common.utils
 * @ClassName: ${TYPE_NAME}
 * @Description: java类作用描述
 * @Author: 李贝留斯
 * @CreateDate: 2018/5/7 17:55
 * @Version: 1.0
 **/
public class Constant {
    //定义用户session
    public static final String SYSUSER = "sysUser";

    public static final String SYSUSERID = "sysUserId";

    public static final String SESSION_FORCE_LOGOUT_KEY = "session.force.logout";

    public static final String SUCCESS = "success";

    public static final String ERROR = "error";

    public enum ScheduleStatus {
        /**
         * 正常
         */
        NORMAL(1),
        /**
         * 暂停
         */
        PAUSE(0);

        private int value;

        ScheduleStatus(int value) {
            this.value = value;
        }

        public int getValue() {
            return value;
        }
    }

}
